package com.Laboratory.setting.service;

import com.Laboratory.utilPojo.equipmentWithRoomNo;
import com.Laboratory.workBench.pojo.equipment;

import java.util.List;
import java.util.Map;

/**
 * @Author acok
 * @description:TODO
 * @Date 2023/1/3 8:57
 * @Version 1.0
 */
public interface _equipmentService {
    //根据条件分页查询设备列表
    List<equipmentWithRoomNo> getEquipmentByCondition(Map<String,Object> map);
    //根据条件获取列表总数
    int getEquipmentRowsByCondition(Map<String,Object> map);
    //新建设备记录
    int insertEquipment(equipment equipment);
    //根据主键更新设备信息
    int updateEquipmentById(equipment equipment);
    //根据主键数组删除设备
    int deleteEquipmentByIds(String []ids);
    //根据现在时间将以达到报废标准设备更新状态
    int updateEquipmentStateByOverTime(String nowTime);

}
